﻿using System;
using System.Collections.Generic;

using System.Text;

namespace Rance.Battle
{
    public class Data行动结果
    {
        public Data行动结果()
        {
            ResultList = new List<IBehavior>();
        }

        public 角色Struct 角色 { get; set; }
        public bool 是否己方 { get; set; }
        public string 技能 { get; set; }

        public List<IBehavior> ResultList { get; set; }

        public override string ToString()
        {
            StringBuilder sb = new StringBuilder();
            sb.AppendLine(string.Format("{0} 使用了 {1} 技能:", 角色, 技能));
            foreach (var item in ResultList)
                sb.AppendLine(string.Format("{0}", item));

            return sb.ToString();
        }
    }
}
